package com.wanmei.mapper;

import com.wanmei.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {

    List<Role> getAllRole();

    Integer getRoleIdByRoleName(String name);

    Role getRoleByRoleId(int roldId);

    int insertSelective(Role record);

    int updateByExampleSelective(@Param("record") Role record);

    int updateByExample(@Param("record") Role record);
}